package com.ecut.property_project.service;

import com.ecut.property_project.mapper.FeeListMapper;
import com.ecut.property_project.model.FeeList;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class FeeListService{

    @Resource
    private FeeListMapper feeListMapper;

    
    public int deleteByPrimaryKey(String listId) {
        return feeListMapper.deleteByPrimaryKey(listId);
    }

    
    public int insert(FeeList record) {
        return feeListMapper.insert(record);
    }

    
    public int insertSelective(FeeList record) {
        return feeListMapper.insertSelective(record);
    }

    public List<FeeList> selectAll(){ return feeListMapper.selectAll(); }

    public List<FeeList> selectByPage(Integer page, Integer pageSize){return feeListMapper.selectByPage(page,pageSize);}

    public FeeList selectByPrimaryKey(String listId) {
        return feeListMapper.selectByPrimaryKey(listId);
    }

    
    public int updateByPrimaryKeySelective(FeeList record) {
        return feeListMapper.updateByPrimaryKeySelective(record);
    }

    
    public int updateByPrimaryKey(FeeList record) {
        return feeListMapper.updateByPrimaryKey(record);
    }

}
